package com.wencai.daily.bean;

/**
 * @author wangpan
 * @date 2023/6/6
 */
public class StatisticResult {
    private double value;
    private double maxResult;
    private double minResult;
    private double avgResult;
    private double maxAvgResult;
    private String maxStartTime;
    private String maxEndTime;

    public StatisticResult() {
    }

    public StatisticResult(double value, double maxResult, double minResult, double avgResult, double maxAvgResult, String maxStartTime, String maxEndTime) {
        this.value = value;
        this.maxResult = maxResult;
        this.minResult = minResult;
        this.avgResult = avgResult;
        this.maxAvgResult = maxAvgResult;
        this.maxStartTime = maxStartTime;
        this.maxEndTime = maxEndTime;
    }

    public double getValue() {
        return value;
    }

    public void setValue(double value) {
        this.value = value;
    }

    public double getMaxResult() {
        return maxResult;
    }

    public void setMaxResult(double maxResult) {
        this.maxResult = maxResult;
    }

    public double getMinResult() {
        return minResult;
    }

    public void setMinResult(double minResult) {
        this.minResult = minResult;
    }

    public double getAvgResult() {
        return avgResult;
    }

    public void setAvgResult(double avgResult) {
        this.avgResult = avgResult;
    }

    public double getMaxAvgResult() {
        return maxAvgResult;
    }

    public void setMaxAvgResult(double maxAvgResult) {
        this.maxAvgResult = maxAvgResult;
    }

    public String getMaxStartTime() {
        return maxStartTime;
    }

    public void setMaxStartTime(String maxStartTime) {
        this.maxStartTime = maxStartTime;
    }

    public String getMaxEndTime() {
        return maxEndTime;
    }

    public void setMaxEndTime(String maxEndTime) {
        this.maxEndTime = maxEndTime;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("StatisticResult{");
        sb.append("value=").append(value);
        sb.append(", maxResult=").append(maxResult);
        sb.append(", minResult=").append(minResult);
        sb.append(", avgResult=").append(avgResult);
        sb.append(", maxAvgResult=").append(maxAvgResult);
        sb.append(", maxStartTime='").append(maxStartTime).append('\'');
        sb.append(", maxEndTime='").append(maxEndTime).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
